#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll t;
void solve(){
	ll n;
	cin>>n;
	if (n%4==0){
		cout<<"Bob\n";
	} else{
		cout<<"Alice\n";
	}
}
int main(){
	cin>>t;
	while(t--){
		solve();
	}	
	return 0;
}
